package com.example.demo.config.properties;/**
 * Created by kete on 2017-12-18.
 */

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 作者：kete
 * 创建时间：2017-12-18 14:28
 * 功能描述：
 * 版本：
 */
@Component
@ConfigurationProperties(prefix = "jms")
public class MqProperties {
    private String brokerURL ="tcp://127.0.0.1:61616";
    private String userName = "zcjb_mq";
    private String password = "zcjb_2017";
    private String sessionCacheSize = "100";
    private String receiveTimeout = "10000";

    public String getSessionCacheSize() {
        return sessionCacheSize;
    }

    public void setSessionCacheSize(String sessionCacheSize) {
        this.sessionCacheSize = sessionCacheSize;
    }

    public String getReceiveTimeout() {
        return receiveTimeout;
    }

    public void setReceiveTimeout(String receiveTimeout) {
        this.receiveTimeout = receiveTimeout;
    }

    public String getBrokerURL() {
        return brokerURL;
    }

    public void setBrokerURL(String brokerURL) {
        this.brokerURL = brokerURL;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
